// 问题答案数据类型
export interface QuestionAnswer {
  id: number;
  title: string;
  content: string;
  categoryId: number;
  categoryName?: string;
  gmtCreate?: string;
  gmtModified?: string;
}

// 创建问题答案请求类型
export interface CreateQuestionAnswerRequest {
  title: string;
  content: string;
  categoryId: number;
}

// 问题答案列表响应类型
export interface QuestionAnswerResponse {
  status: number;
  msg: string;
  data: {
    answers: QuestionAnswer[];
  };
}

// 创建问题答案响应类型
export interface CreateQuestionAnswerResponse {
  status: number;
  msg: string;
  data: {};
}
